package com.buybuyyi.stylistcrm.resource.goods.dao.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.buybuyyi.stylistcrm.resource.goods.dao.DicTagsDao;
import com.buybuyyi.stylistcrm.resource.goods.mapper.DicTagsMapper;
import com.buybuyyi.stylistcrm.resource.goods.po.DicTags;

@Repository
public class DicTagsDaoImpl implements DicTagsDao {
	
	@Autowired
	private DicTagsMapper dicTagsMapper;

	@Override
	public Long deleteByPrimaryKey(Long id) {
		return dicTagsMapper.deleteByPrimaryKey(id);
	}

	@Override
	public Long insert(DicTags record) {
		return dicTagsMapper.insert(record);
	}

	@Override
	public Long insertSelective(DicTags record) {
		return dicTagsMapper.insertSelective(record);
	}

	@Override
	public DicTags selectByPrimaryKey(Long id) {
		return dicTagsMapper.selectByPrimaryKey(id);
	}

	@Override
	public Long updateByPrimaryKeySelective(DicTags record) {
		return dicTagsMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public Long updateByPrimaryKey(DicTags record) {
		return dicTagsMapper.updateByPrimaryKey(record);
	}

	@Override
	public List<DicTags> getAllDicTags() {
		return dicTagsMapper.getAllDicTags();
	}
	
	
}